package com.zdkj.subway.check.mapper;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zdkj.subway.check.entity.SwAuTvmBoxAmountDifference;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 线网售票员结算
 */
@Mapper
public interface XwShouJieSuanMapper extends BaseMapper {
    @SqlParser(filter = true)
    List<Map<String, Object>> getXw_tvm_shouJieSuan_waitSubmit(Map<String, String> param);

    //计算金额
    List<Map<String, Object>> getTvmAllAmount(Map<String, String> param);

    //tvm长周期结算
    List<SwAuTvmBoxAmountDifference> getXw_tvm_long_js(Map<String, String> param);

    //获取售票员结算待提交
    @SqlParser(filter = true)
    List<Map<String, Object>> getXw_bom_shouJieSuan_waitSubmit(Map<String, String> param);

    //获取日期
    @SqlParser(filter = true)
    List<Map<String, Object>> get_sw_ck_data_submit_date(Map<String, String> param);

    void updatePetty(@Param("lineCode") String lineCode, @Param("stationCode") String stationCode, @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("conductorJobNo") String conductorJobNo, @Param("deviceOperatorNum") String deviceOperatorNum, @Param("conductorShifts") String conductorShifts);
}
